/*
map_sprites();
*/
global.sprite_map=ds_map_create();
var q, s;
s = surface_create(1,1);
q = sprite_create_from_surface(s,0,1,1,false,false,false,0,0);
for (p=0; p<q; p+=1) {
if (sprite_exists(p)) {
ds_map_add(global.sprite_map,sprite_get_name(p),p);
}
}
sprite_delete(q);
surface_free(s);
